package cn.edu.scau.cmi.limingben.composite.model.Safe_model;

public class Member {
	private Member father;
	private String name;

	public Member(Member father, String name) {
		this.father = father;
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Member getFather() {
		return father;
	}
	@Override
	public String toString() {
		return getName();
	}
}
